package cn.wolfcode.wolf2w.domain;


import org.springframework.data.mongodb.core.mapping.Document;




@Document("spot")
public class Spot extends BaseDomain{

    public static final int STATE_NORMAL = 1;  //正常
    public static final int STATE_DISABLE = 0;

    private String name;        //景点名
    private String phone;
    private String time;
    private String num;//参观人数

    private String destId;  //关联的目的地
    private String destName;
    private String url;//网站
    private String unob;//交通
    private String titck;
    private String opentime;//开发时间
    private int hotspot = STATE_NORMAL;//是否热门

    public static int getStateNormal() {
        return STATE_NORMAL;
    }

    public static int getStateDisable() {
        return STATE_DISABLE;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name=name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone=phone;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time=time;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num=num;
    }

    public String getDestId() {
        return destId;
    }

    public void setDestId(String destId) {
        this.destId=destId;
    }

    public String getDestName() {
        return destName;
    }

    public void setDestName(String destName) {
        this.destName=destName;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url=url;
    }

    public String getUnob() {
        return unob;
    }

    public void setUnob(String unob) {
        this.unob=unob;
    }

    public String getTitck() {
        return titck;
    }

    public void setTitck(String titck) {
        this.titck=titck;
    }

    public String getOpentime() {
        return opentime;
    }

    public void setOpentime(String opentime) {
        this.opentime=opentime;
    }

    public int getHotspot() {
        return hotspot;
    }

    public void setHotspot(int hotspot) {
        this.hotspot=hotspot;
    }
}
